package com.thinkgem.jeesite.modules.unfee.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.unfee.dao.unfeeDao;
import com.thinkgem.jeesite.modules.unfee.entity.Unfee;

@Service
@Transactional(readOnly = true)
public class UnfeeService extends CrudService<unfeeDao, Unfee>{

	@Autowired
	private unfeeDao unfeedao;
	@Transactional(readOnly = false)
	public void deleteUnFee(Unfee unfee){
		unfeedao.deleteUnFee(unfee);
	}
	@Transactional(readOnly = false)
	public int insert(Unfee unfee){
		return unfeedao.insert(unfee);
	}
}
